package br.com.insuranceMobile;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Home extends Activity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.home);

		final Intent intentSplash = new Intent(this, Splash.class);
		
		final Button buttonSplash = (Button)findViewById(R.id.buttonSplash);
		
		buttonSplash.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				//startActivityForResult(new Intent(this, Splash.class), null);
				startActivityForResult(intentSplash, 0);
			}
		});
		
	}
}
